package com.fangyi.yunmusic.pojo;

import javax.persistence.*;

@Table(name = "user_is_artist")
public class UserIsArtist {
    @Id
    private String id;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 歌手ID
     */
    @Column(name = "artist_id")
    private String artistId;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取歌手ID
     *
     * @return artist_id - 歌手ID
     */
    public String getArtistId() {
        return artistId;
    }

    /**
     * 设置歌手ID
     *
     * @param artistId 歌手ID
     */
    public void setArtistId(String artistId) {
        this.artistId = artistId;
    }
}